package com.company.project.web.system.pojo.serviceitem;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 任建波
 * @since 2019-09-10
 */
@TableName("sys_serviceitem")
public class ServiceitemSelectVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 服务项目分类表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 项目名称
     */
    private String name;

    /**
     * 项目价格
     */
    private BigDecimal price;

    /**
     * 提成比例  如：0.2
     */
    private BigDecimal commission;

    /**
     * 项目类型id
     */
    private Integer typeId;

    /**
     * 服务时长   分钟
     */
    private Integer servicetime;

    /**
     * 照片
     */
    private String imgUrl;

    /**
     * 1：删除  0：未删除
     */
    private Boolean isdelete;

    /**
     * 录入人id
     */
    private Integer inputUserId;

    /**
     * 录入时间
     */
    private LocalDateTime inputTime;

    /**
     * 修改人id
     */
    private Integer updateUserId;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getCommission() {
        return commission;
    }

    public void setCommission(BigDecimal commission) {
        this.commission = commission;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getServicetime() {
        return servicetime;
    }

    public void setServicetime(Integer servicetime) {
        this.servicetime = servicetime;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Boolean getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Boolean isdelete) {
        this.isdelete = isdelete;
    }

    public Integer getInputUserId() {
        return inputUserId;
    }

    public void setInputUserId(Integer inputUserId) {
        this.inputUserId = inputUserId;
    }

    public LocalDateTime getInputTime() {
        return inputTime;
    }

    public void setInputTime(LocalDateTime inputTime) {
        this.inputTime = inputTime;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Serviceitem{" +
        "id=" + id +
        ", name=" + name +
        ", price=" + price +
        ", commission=" + commission +
        ", typeId=" + typeId +
        ", servicetime=" + servicetime +
        ", imgUrl=" + imgUrl +
        ", isdelete=" + isdelete +
        ", inputUserId=" + inputUserId +
        ", inputTime=" + inputTime +
        ", updateUserId=" + updateUserId +
        ", updateTime=" + updateTime +
        "}";
    }
}
